package NetPlayPojo.src;

import java.util.Properties;


public class User {

	/*
	 * Fields
	 */
	private long idUser;
	private String login;
	private String hashPass;
	private String region;
	private String ip;
	private Properties loadedConfig;
	
	/*
	 * 
	 */
	public User(){}
	
	public User(String log, String pass, String reg, String address)
	{
		login = log;
		hashPass = pass;
		region = reg;
		ip = address;
	}
	
	public User(long id, String log, String pass, String reg, String address)
	{
		idUser = id;
		login = log;
		hashPass = pass;
		region = reg;
		ip = address;
	}

	public long getIdUser() {
		return idUser;
	}

	public void setIdUser(long idUser) {
		this.idUser = idUser;
	}

	public String getLogin() {
		return login;
	}

	public void setLogin(String login) {
		this.login = login;
	}

	public String getHashPass() {
		return hashPass;
	}

	public void setHashPass(String hashPass) {
		this.hashPass = hashPass;
	}

	public String getRegion() {
		return region;
	}

	public void setRegion(String region) {
		this.region = region;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public Properties getLoadedConfig() {
		return loadedConfig;
	}

	public void setLoadedConfig(Properties loadedConfig) {
		this.loadedConfig = loadedConfig;
	}

}
